import request from '@/utils/request'

// 查询调度日志列表
export function listJobLog(query) {
  return request({
    url: '/ai_smart/task/job/log/list',
    method: 'get',
    params: query
  })
}

// 删除调度日志
export function delJobLog(data) {
  return request({
    url: '/ai_smart/task/job/log',
    data: data,
    method: 'delete'
  })
}

// 清空调度日志
export function cleanJobLog() {
  return request({
    url: '/ai_smart/task/job/log/delete_all',
    method: 'delete'
  })
}

// 合并结果
export function merge_data(data){
  return request({
    url: '/ai_smart/task/job/log/merge',
    method: 'post',
    data: data
  })
}